/*
 * @Author: wanliofficial wanliofficial@aliyun.com
 * @Date: 2024-11-01 10:35:39
 * @LastEditors: wanliofficial wanliofficial@aliyun.com
 * @LastEditTime: 2025-02-20 16:03:26
 * @FilePath: \onetest-winx64d:\projects\leming\MeterSphere\project-management\backend\src\main\java\io\metersphere\ProjectApplication.java
 * @Description: 
 * 
 * Copyright (c) 2025 by ${git_name_email}, All Rights Reserved. 
 */
package io.metersphere;

import io.metersphere.config.MinioProperties;
import io.metersphere.config.JmeterProperties;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.ldap.LdapAutoConfiguration;
import org.springframework.boot.autoconfigure.neo4j.Neo4jAutoConfiguration;
import org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.PropertySource;

@SpringBootApplication(exclude = {
        QuartzAutoConfiguration.class,
        LdapAutoConfiguration.class,
        Neo4jAutoConfiguration.class
})
@PropertySource(value = {
        "classpath:commons.properties",
        "file:${BACKEND_SERVICE_PATH}/conf/metersphere.properties",
}, encoding = "UTF-8", ignoreResourceNotFound = true)
@ServletComponentScan
@EnableConfigurationProperties({
        MinioProperties.class,
        JmeterProperties.class
})
public class ProjectApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProjectApplication.class, args);
    }
}
